  /* 全局样式 */
  body {
    margin: 0 auto;
    box-sizing: border-box;
    list-style: none;
}

a {
    text-decoration: none;
    color: #333;
}

/* 双伪元素清除法 */
.clearfix::before,
.clearfix::after {
    content: "";
    display: table;
}

.clearfix::after {
    clear: both;
}

/* 导航栏样式 */
.navbar {
    height: 50px;
    width: 1520px;
    background-color: ghostwhite;
}

.navbar .logo img {
    height: 50px;
    width: 10%;
    float: left;
}

.navbar .nav-links {
    margin-left: 22%;
    width: 30%;
    float: left;
    margin-top: 16px;
}

.navbar .nav-links li {
    float: left;
    margin-left: 5%;
    font-size: 18px;
    line-height: 20px;
}
.navbar .nav-links li :hover{
    padding: 5px;
    color: orange;
    border-bottom: 1px solid red;
}
.search {
    position: relative;
    float: left;
    margin-top: 15px;
    margin-left: 380px;
    width: 172px;
    height: 30px;
    border-bottom: 2px solid #e7e7e7;
}

.search input {
    padding-left: 30px;
    width: 172px;
    height: 28px;
}

.search input::placeholder {
    font-size: 14px;
    color: #ccc;
}

.search span {
    position: absolute;
    left: 2px;
    top: 0;
    /* display: inline-block; */
    width: 18px;
    height: 18px;
    background-image: url(../images/sprites.png);
    background-position: -79px -69px;
}
/* 轮播图样式 */
.slideshow-container {
    margin-top: 30px;
    position: relative;
    height: 350px;
    width: 1520px;
}

.slideshow-container img {
    display: block;
    width: 1480px;
    height: 350px;
}

#wrapper {
    width: 1480px;
    height: 350px;
    position: relative;
    overflow: hidden;
}

#wrapper ul {
    width: 600%;
    margin: 0;
    padding: 0;
    position: absolute;
}

#wrapper ul li {
    float: left;
}




.prev,
.next {
    position: absolute;
    top: 176px;
    width: 45px;
    height: 45px;
    background-image: url(../images/sprites.png);
    background-color: rgba(0, 0, 0, .2);
    border-radius: 50%;
    /* 隐藏 */
    display: none;
    z-index: 5;
}

.prev {
    left: 20px;
    background-position: 14px -60px;
}

.next {
    right: 20px;
    background-position: -23px -60px;
}

.wrapper {
    width: 1600px;
    position: relative;
    margin: 0 auto;
}

.wrapper img {
    float: left;
    height: 350px;
    width: 1480px;
    box-sizing: border-box;

}

#wrapper ol {
    position: absolute;
    height: 10px;
    left: 555px;
    top: 315px;
}

#wrapper ol li {
    float: left;
    height: 15px;
    width: 15px;
    margin-right: 24px;
    background-color: white;
    border-radius: 50px;
    cursor: pointer;
}

#wrapper ol .current {
    background-color: yellow;
}
.article{
    margin-top: 20px;
}
.article img{
    width: 100%;
    margin-bottom: 20px;
}




.content {
    float: left;
    width: 45%;
    height: 390px;
    background-color: rgb(255, 249, 249);
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 20px;
    width: 1520px;
}

.footer p {
    color: #999;
    font-size: 18px;
}

strong {
    color: red;
}

.content button {
    font-size: 20px;
    float: left;
    width: 100%;
    height: 40px;

    background-color: green;
}
/* 版权footer */
.footer {
    height: 342px;
    background-color: #333;
}

.footer .wrapper {
    width: 1393px;
    background-color: #333;
}

.footer .top {
    padding-top: 59px;
    padding-left: 135px;
    height: 175px;
    border-bottom: 3px solid #434343;
}

.footer .top li {
    position: relative;
    float: left;
    margin-right: 300px;
    width: 195px;
    height: 58px;

    line-height: 58px;
}

.footer .top li:last-child {
    margin-right: 0;
}

/* 伪元素添加的标签  行内 */
/* 如果行内块和行内文字无法通过vertical-align或行高对齐, 定位 */
.footer .top li::before {
    position: absolute;
    left: 0;
    top: 0;
    /* display: inline-block; */
    content: '';
    width: 58px;
    height: 58px;
    background-image: url(../images/sprites.png);
    vertical-align: middle;
}

.footer .top li span {
    margin-left: 77px;
    font-size: 28px;
    color: #fff;
}

/* 第二个li里面的berfore添加背景图位置属性 */
.footer .top li:nth-child(2)::before {
    background-position: -130px 0;
}
.footer .top li:nth-child(3)::before {
    background-position: -64px 0;
}

.footer .bottom {
    padding-top: 40px;
    font-size: 14px;
    color: #999;
    text-align: center;
}

.footer .bottom a {
    font-size: 14px;
    color: #999;
}

.footer .bottom p {
    margin-bottom: 20px;
}
